package com.ymttest.common.entitie;

import java.math.BigDecimal;

import com.ymttest.common.enums.BondedAreaEnum;
import com.ymttest.common.enums.LogisticsTypeEnum;
import com.ymttest.common.enums.PriceTypeEnum;
import com.ymttest.common.enums.ProductRefundChannelEnum;
import com.ymttest.common.enums.StockStatusEnum;



/**
 * 订单信息
 */
public class OrderItem {
    private static final long serialVersionUID = -1835126454024646839L;

    // 商品ID
    private String productId;

    // 商品名称
    private String productName;

    // 商品规格ID
    private String catalogId;

    // 备货状态
    private StockStatusEnum stockStatus;

    // 商品数量
    private int productNum;

    // 一级目录ID
    private long firstCategoryId;

    // 二级目录ID
    private long secondCategoryId;

    // 三级目录ID
    private long thirdCategoryId;

    // 商品品牌ID
    private long brandId;

    // 商品URL
    private String pictureUrl;

    // 商品属性信息(按JSON格式存储，如--颜色:黑色,尺寸:XXS)
    private String property;

    // 商品成交价
    private BigDecimal productPrice;

    // 商品预付定金
    private BigDecimal earnestPrice;

    // 商品原价
    private BigDecimal originalPrice;

    // 成交价类型
    private PriceTypeEnum priceType;

    // 关税承担类型(0-卖家承担 1-买家承担)
    private int tariffType;

    // 物流类型
    private LogisticsTypeEnum logisticsType;

    // 保税区
    private BondedAreaEnum bondedArea;

    // 商品备案号
    private String productRecordNo;

    // SKU
    private String sku;

    // 套餐编号
    private String packageNo;

    // 商品退货渠道
    private ProductRefundChannelEnum productRefundChannel;

    // 商品信息（格式:Json）
    private String productDetailInfo;


    // 商品活动信息
    private ActivityVo activity;


    public String getProductId() {
        return productId;
    }


    public void setProductId(String productId) {
        this.productId = productId;
    }


    public String getProductName() {
        return productName;
    }


    public void setProductName(String productName) {
        this.productName = productName;
    }


    public String getCatalogId() {
        return catalogId;
    }


    public void setCatalogId(String catalogId) {
        this.catalogId = catalogId;
    }


    public StockStatusEnum getStockStatus() {
        return stockStatus;
    }


    public void setStockStatus(StockStatusEnum stockStatus) {
        this.stockStatus = stockStatus;
    }


    public int getProductNum() {
        return productNum;
    }


    public void setProductNum(int productNum) {
        this.productNum = productNum;
    }


    public long getFirstCategoryId() {
        return firstCategoryId;
    }


    public void setFirstCategoryId(long firstCategoryId) {
        this.firstCategoryId = firstCategoryId;
    }


    public long getSecondCategoryId() {
        return secondCategoryId;
    }


    public void setSecondCategoryId(long secondCategoryId) {
        this.secondCategoryId = secondCategoryId;
    }


    public long getThirdCategoryId() {
        return thirdCategoryId;
    }


    public void setThirdCategoryId(long thirdCategoryId) {
        this.thirdCategoryId = thirdCategoryId;
    }


    public long getBrandId() {
        return brandId;
    }


    public void setBrandId(long brandId) {
        this.brandId = brandId;
    }


    public String getPictureUrl() {
        return pictureUrl;
    }


    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }


    public String getProperty() {
        return property;
    }


    public void setProperty(String property) {
        this.property = property;
    }


    public BigDecimal getProductPrice() {
        return productPrice;
    }


    public void setProductPrice(BigDecimal productPrice) {
        this.productPrice = productPrice;
    }


    public BigDecimal getEarnestPrice() {
        return earnestPrice;
    }


    public void setEarnestPrice(BigDecimal earnestPrice) {
        this.earnestPrice = earnestPrice;
    }


    public BigDecimal getOriginalPrice() {
        return originalPrice;
    }


    public void setOriginalPrice(BigDecimal originalPrice) {
        this.originalPrice = originalPrice;
    }


    public int getTariffType() {
        return tariffType;
    }


    public void setTariffType(int tariffType) {
        this.tariffType = tariffType;
    }


    public LogisticsTypeEnum getLogisticsType() {
        return logisticsType;
    }


    public void setLogisticsType(LogisticsTypeEnum logisticsType) {
        this.logisticsType = logisticsType;
    }


    public BondedAreaEnum getBondedArea() {
        return bondedArea;
    }


    public void setBondedArea(BondedAreaEnum bondedArea) {
        this.bondedArea = bondedArea;
    }


    public String getProductRecordNo() {
        return productRecordNo;
    }


    public void setProductRecordNo(String productRecordNo) {
        this.productRecordNo = productRecordNo;
    }


    public String getSku() {
        return sku;
    }


    public void setSku(String sku) {
        this.sku = sku;
    }


    public String getPackageNo() {
        return packageNo;
    }


    public void setPackageNo(String packageNo) {
        this.packageNo = packageNo;
    }


    public ProductRefundChannelEnum getProductRefundChannel() {
        return productRefundChannel;
    }


    public void setProductRefundChannel(ProductRefundChannelEnum productRefundChannel) {
        this.productRefundChannel = productRefundChannel;
    }


    public String getProductDetailInfo() {
        return productDetailInfo;
    }


    public void setProductDetailInfo(String productDetailInfo) {
        this.productDetailInfo = productDetailInfo;
    }


    public ActivityVo getActivity() {
        return activity;
    }


    public void setActivity(ActivityVo activity) {
        this.activity = activity;
    }


    public PriceTypeEnum getPriceType() {
        return priceType;
    }


    public void setPriceType(PriceTypeEnum priceType) {
        this.priceType = priceType;
    }



}
